<template>
	<view class="video-play-page">
		<navbar />
		<view class="video-main">
			<video :src="videoSrc" class="video" :autoplay="true"></video>
		</view>
	</view>
</template>

<script>
	import navbar from "./components/navbar/navbar.vue";
	export default {
		components: {
			navbar
		},
		onLoad(options) {
			this.videoSrc = decodeURIComponent(options.url);
		},
		data() {
			return {
				videoSrc: "",
			}
		}
	}
</script>

<style scoped lang="scss">
	@import "./video.scss";
</style>
